<template>
    <h2>医生添加</h2>
    <table border="1">
        <tr>
            <td>医生名称</td>
            <td>
                <input type="text" v-model="info.DName"/>
            </td>
        </tr>
        <tr>
            <td></td>
        </tr>
    </table>
</template>
<script setup lang="ts">
    import {ref,onMounted} from 'vue';
    import axios from 'axios';

    const info=ref({
        DName: "",
        D_Id: 0
        Student: "",
        ImgUrl: "",
        ZhiCheng: ""
    })

    const Add=()=>{
        axios.post("",info.value)
    }

</script>
